#ifndef PASSWORDDIALOG_H
#define PASSWORDDIALOG_H

#include <QDialog>

namespace Ui {
    class PasswordDialog;
}

class PasswordDialog : public QDialog {
    Q_OBJECT

public:
    explicit PasswordDialog(QWidget *parent = 0);
    ~PasswordDialog();

	bool checkPassword(int type);

public slots:
	void setPasswordValidity();

private:
    Ui::PasswordDialog *ui;

	bool passwordValidity;
	QString password1;
	QString password2;
	QString password3;
	int passwordType;
};

#endif // PASSWORDDIALOG_H
